package com.bys.admin.system.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;


import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 系统字典类型表
 * </p>
 *
 * @author bys
 * @since 2024-04-25
 */
@Getter
@Setter
@TableName("sys_dict_type")
@Schema(name = "SysDictType对象", description = "系统字典类型表")
public class SysDictType implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "字典类型名称")
    private String name;

    @Schema(description = "字典类型")
    private String type;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "创建人")
    private Long createBy;

    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @Schema(description = "更新人")
    private Long updateBy;

    @Schema(description = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @Schema(description = "逻辑删除")
    private Boolean isDeleted;


}
